from django.urls import path
from rest_framework.routers import DefaultRouter

from managesys.views import StudentSimpleView, GradeView, CollegeView

urlpatterns = [
    path('college/',CollegeView.as_view())
]

router = DefaultRouter()

router.register('student',StudentSimpleView)
router.register('grade',GradeView)

urlpatterns += router.urls